/*
 * Copyright (c) GoKeep by gokeep.org. 2022-2023. All rights reserved
 */
package org.gokeep.common.document;

import lombok.Data;
import lombok.experimental.Accessors;
import org.gokeep.common.constant.enums.GroupStatusEnum;
import org.springframework.data.annotation.Id;

import java.util.Collections;
import java.util.List;

@Data
@Accessors(chain = true)
public class Group {

    @Id
    private String groupId;

    private String name = "";

    private String managerId = "";

    private String companyId = "";

    private GroupStatusEnum status = GroupStatusEnum.NORMAL;

    private List<GroupMember> groupMembers = Collections.emptyList();
}